import request from '@/utils/request'

export function getRootAreaList(param) {
  return request({
    url: 'rest/area/rootList',
    method: 'post',
    data: param
  })
}

export function getArea(param) {
  return request({
    url: 'rest/area/getChildren',
    method: 'post',
    data: param
  })
}

